/*
 * @Author: Wxx
 * @Date: 2022-02-24 17:31:06
 * @LastEditors: Wxx
 * @LastEditTime: 2022-02-24 17:41:25
 * @Description:
 */
import React, { Component } from "react";

export default class Login extends Component {
  render() {
    return (
      <div>
        <input type="text" />
        <button
          onClick={() => {
            localStorage.setItem("token", "125");
            this.props.history.push("/films");
          }}
        >
          登陆
        </button>
      </div>
    );
  }
}
